Create a Union of SetsΒΆ

S3 = S1 | S2

Create a Union of Sets.
# Union
S1 = set(["green", "blue"])
S2 = set(["blue", "yellow"])

S3 = S1 | S2
print(S3)                                      # {'yellow', 'green', 'blue'}